]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Don't show network-offline-symbolic in the top bar
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 10 Mar 2014 18:11:50 +0000 (14:11 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Tue, 11 Mar 2014 14:01:07 +0000 (10:01 -0400)
This is against the designs.

https://bugzilla.gnome.org/show_bug.cgi?id=725340

https://bugzilla.gnome.org/show_bug.cgi?id=721459

js/ui/status/network.js

index ce6b004de5a7a37f2c7bc6b3ea98af6c24f9a776..1e6ae6cb7147831994f5fd039acd9c8204a3e7a2 100644 (file)
@@ -1862,8 +1862,7 @@ const NMApplet = new Lang.Class({
 
     _updateIcon: function() {
         if (!this._client.networking_enabled || !this._mainConnection) {
-            this._primaryIndicator.icon_name = 'network-offline-symbolic';
-            this._primaryIndicator.visible = true;
+            this._primaryIndicator.visible = false;
         } else {
             let dev = this._mainConnection._primaryDevice;
             this._primaryIndicator.visible = (dev != null);